package test.common.core.message;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import web.common.core.message.PageRequest;
import web.common.core.validation.group.SearchGroup;

import javax.validation.constraints.NotNull;

/**
 * @author Jin Zheng
 * @since 1.0 2022-01-24
 */
@Getter
@Setter
@NoArgsConstructor
public class UserPageRequest extends PageRequest {
	@NotNull(groups = {SearchGroup.class}, message = "ID不能为空")
	private Integer id;

}
